﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QDT.Common;
using QDT.Core.Deals;
using QDT.Core.Members;
using QDT.Core.Projects;
using QDT.Services.DTO;

namespace QDT.Services.Deals
{
    public interface IQureyService
    {
        /// <summary>
        /// 查询投资列表
        /// </summary>
        /// <param name="userId">用户ID</param>
        /// <param name="pageIndex">页索引</param>
        /// <param name="pageSize">页尺寸</param>
        /// <param name="status">项目状态</param>
        /// <returns></returns>
        IPagedList<Credit> GetCreditList(int userId, int pageIndex, int pageSize, ProjectStatus status);


        decimal GetUserRepayMoney(DateTime dateTime);

        ICollection<UserDTO> GetNewInvester(DateTime date);

        int GetInvesterCount();

    }
}
